package com.atguigu.yygh.hosp.hosp.testmongo;

import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface UserRepository extends MongoRepository<User,String> {
    List<User> findByNameLike(String name);

}
